<?php

class CodeSpace_Language_Controller_Helper_Language extends Zend_Controller_Action_Helper_Abstract{
    
    public $pluginLoader;
 
    public function __construct()
    {
        $this->pluginLoader = new Zend_Loader_PluginLoader();
    }
    
    public function language()
    {
        $viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
        $view = $viewRenderer->view;
        return $view->language();
    }
    public function direct()
    {
        return $this->language();
    }
    
}

?>